/**
 * fileName:  FruitArgumentEntity.java
 * author:  huaimi
 * Company:  Cloudland Studio
 * Createdate:  2014-6-12 下午9:47:35
 *
 * All rights Reserved, Designed By cloudland Copyright(C) 2010-2011
 *   
 * Modification  History:
 *     Date           Author        Version        
 * -------------------------------------------
 * 2014-6-12          huaimi            1.0        
 *
 * Why & What is modified:
 * 1.0: 文件创建
 */
package org.cloudland.commercial.masterdata.store.entity;

import java.io.Serializable;

 /**
 * 水果参数关系领域层实体
 * @ClassName  FruitArgumentEntity
 * @author  huaimi
 * @version  %I%, %G%
 * @see  
 * @since   JDK1.6
 *
 */
public class FruitArgumentEntity implements Serializable
{

	private static final long serialVersionUID = 1L;
	
	/**
	 * fruitId 水果编号
	 */
	private String fruitId;
	
	/**
	 * argumentId 参数编号 
	 */
	private String argumentId;                       
	  
	/**
	 * costId 值编号
	 */
	private String[] costId;                           
	
	/**
	 * costCustom 值自定义
	 */
	private String costCustom;                      
	
	public FruitArgumentEntity(String argumentId, String... costId) {
		this.argumentId = argumentId;
		this.costId = costId;
	}
	
	public FruitArgumentEntity(String argumentId) {
		this(argumentId, new String[0]);
	}
	
	/**
	 * 获取参数编号
	 * @return argumentId 参数编号
	 */
	public String getArgumentId() {
		return argumentId;
	}

	/**
	 * 设置参数编号
	 * @param argumentId 参数编号
	 */
	public void setArgumentId(String argumentId) {
		this.argumentId = argumentId;
	}

	/**
	 * 获取值编号
	 * @return costId 值编号
	 */
	public String[] getCostId() {
		return costId;
	}

	/**
	 * 设置值编号
	 * @param costId 值编号
	 */
	public void setCostId(String... costId) {
		this.costId = costId;
	}

	/**
	 * 获取值自定义
	 * @return costCustom 值自定义
	 */
	public String getCostCustom() {
		return costCustom;
	}

	/**
	 * 设置值自定义
	 * @param costCustom 值自定义
	 */
	public void setCostCustom(String costCustom) {
		this.costCustom = costCustom;
	}
	
	/**
	 * get fruitId
	 * @return fruitId
	 */
	public String getFruitId() {
		return fruitId;
	}

	/**
	 * set fruitId
	 * @param fruitId the value of fruitId
	 */
	public void setFruitId(String fruitId) {
		this.fruitId = fruitId;
	}

	/**
	 * 将当前实体中属性值转为字符串格式输出，
	 * 格式为：属性名：属性值，属性名：属性值...
	 * @return 当前对象的属性字符串
	 */
	public String toString()
	{
		StringBuffer result = new StringBuffer("");
		
		result.append("argumentId:").append(argumentId).append("; ");
		result.append("costId:").append(costId).append("; ");
		result.append("costCustom:").append(costCustom).append("; ");
		
		return result.toString();
	}
	
}
